package com.nanyang.tms.manager.saleprice;

import com.nanyang.common.core.page.PageBean;
import com.nanyang.tms.domain.saleprice.*;

import java.util.List;

public interface SalePriceManager {
    /**
     * 列表
     * @param query
     * @return
     */
    PageBean<SalePriceVO> listSale(SalePriceQuery query);

    /**
     * 添加
     * @param saleBaseVO
     */
    void saveSale(SaleBaseVO saleBaseVO);

    /**
     * 根据编码查询
     * @param saleCode
     * @return
     */
    SaleBaseVO selectByCode(String saleCode);
    /**
     * 修改
     * @param saleBaseVO
     */
    void updateSale(SaleBaseVO saleBaseVO);

    /**
     * 设置折扣
     * @param saleBaseDiscountVO
     */
    void setUpDiscount(SaleBaseDiscountVO saleBaseDiscountVO);
}
